﻿using Castle.ActiveRecord;
using Castle.MonoRail.Framework;
using MonorailScaffoldingTests.Models;

namespace MonorailScaffoldingTests.Controllers {
    [Scaffolding(typeof(Person))]
    public class PersonScaffoldingController: Controller {
        public void AnotherAction(int id) {
            ActiveRecordMediator<Person>.FindByPrimaryKey(id);
        }
    }
}